<?php
$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize('Início'), '/', array('escape' => false));
$this->Html->addCrumb(__('Shopping Cart'), '/shop/cart', array('escape' => false));
$this->Html->addCrumb(__('Add Client'), NULL, array('escape' => false));
?>
<div class="col-xs-12 fundo_branco">
    <?php
    echo $this->Form->create('Client', array(
        'inputDefaults' => array(
            'div' => array('class' => 'col-xs-12 col-md-6'),
            'wrapInput' => false,
            'class' => 'form-control col-xs-12'
        ),
        'role' => 'form',
        'type' => 'post'
    ));
    ?>
    <div class="col-xs-12">
        <?php
        echo $this->Form->input('User.username', array('label' => __('Username')));
        echo $this->Form->input('User.password', array('label' => __('Password'), 'type' => 'password'));
        ?>
    </div>
    <div class="col-xs-12">
        <?php
        echo $this->Form->input('Client.first_name', array('label' => __('First name')));
        echo $this->Form->input('Client.last_name', array('label' => __('Last name')));
        echo $this->Form->input('Client.email', array('label' => __('email')));
        echo $this->Form->input('Client.documento', array('label' => __('Documento')));
        echo $this->Form->input('Client.phone', array('label' => __('Phone')));
        echo $this->Form->input('Client.billing_address');
        echo $this->Form->input('Client.billing_address2');
        echo $this->Form->input('Client.billing_city');
        echo $this->Form->input('Client.billing_zip');
        echo $this->Form->input('Client.billing_state');
        echo $this->Form->input('Client.billing_country');
        ?>
    </div>
    <div class="text-right">
        <?php
        echo $this->Form->button(__('Cadastrar'), array('type' => 'submit'));
        echo $this->Form->end();
        ?>
    </div>
</div>